package com.neusoft.neu24.nep.role.service;

import com.neusoft.neu24.nep.entity.ComonResult;
import com.neusoft.neu24.nep.role.entity.Roles;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 角色表 服务类
 * </p>
 *
 * @author 段静迪，duanjingdi@163.com
 * @since 2024-06-05
 */
public interface IRolesService extends IService<Roles> {

    ComonResult<List<Roles>> listAll();

    ComonResult modRoleByid(Roles roles);

    ComonResult addRole(Roles roles);

    ComonResult modRole(Roles roles);

    ComonResult selectSysnodesByRid(Integer rid);

    ComonResult modRoleAuth(Integer rid, List<Integer> sysnodeids);

    ComonResult selectMenuByRoleid(Integer roleid);
}
